package com.tarena.lbs.business.dao.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BusinessRepository {
    List<BusinessPO> list(QueryWrapper<BusinessPO> queryWrapper);

    Long count(QueryWrapper queryWrapper);

    int save(BusinessPO poParam);

    BusinessPO selectById(Integer businessId);
}
